/*
 * This file is part of the <a href="http://code.google.com/p/pux">PUX Framework</a>
 *
 * Copyright 2008-2009 by <a href="mailto:jfendler@polytechnic.edu.na">Jens Fendler</a>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package de.teamskill.pux.engine;

/**
 * CustomizableInputPorts - to be implemented by nodes who allow for run-time
 * adding/removing of input ports
 * 
 * @author <a href="mailto:jfendler@polytechnic.edu.na">Jens Fendler</a>
 * 
 */
public interface CustomizableInputPorts {

	/**
	 * customInputPortCreated - callback method to be called when a new input
	 * port has been added to the node
	 * 
	 * @param ip
	 */
	public void inputPortCreated(InputPort ip);

	/**
	 * inputPortModified - callback method to be called when an input port has
	 * been changed
	 * 
	 * @param ip
	 */
	public void inputPortModified(InputPort ip);

	/**
	 * inputPortRemoved - callback method to be called when an input port has
	 * been removed from the node
	 * 
	 * @param ip
	 */
	public void inputPortRemoved(InputPort ip);

}
